/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Interface;

import Pojo.Address;
import java.util.List;
import org.hibernate.Session;

/**
 *
 * @author olegk
 */
public interface InterfaceAddress {
    public List<Address> getAll(Session session) throws Exception;
    public Address selectAddress(Session session, String hql, List<Object> param)throws Exception;
    public List<Address> selectListAddress(Session session, String hql, List<Object> param)throws Exception;  
}
